/********************************************************************************
  DESCRIPTION OF THE FILE HERE
********************************************************************************/

#include "<class_name>.h"
#include "common.h"

**************************************
*** DEFINITION OF LOCAL TYPES HERE ***
**************************************  

typedef struct SNewClass {  
  **************
  *** FIELDS ***
  **************
} NewClass;

static void NewClass_init(ptrNewClass class_object, *** PARAMS ***){
  *************************
  *** PARAMS ASSIGNMENT ***
  *************************
}

ptrNewClass NewClass_create(*** PARAMS ***){
  ptrNewClass class_object = new(NewClass);
  NewClass_init(class_object, *** PARAMS ***);
  return class_object;
}

**********************************
*** DEFINITION OF METHODS HERE ***
**********************************

#ifdef DEBUG
void NewClass_printf (ptrNewClass class_object){
  /* BLA, BLA, BLA */
}
#endif /* DEBUG */

static void NewClass_deinit(ptrNewClass class_object){
  *********************
  *** PARAMS DEINIT ***
  *********************
};

void NewClass_destroy(ptrNewClass class_object){
  if (class_object != NULL){
    NewClass_deinit(class_object);
    delete(class_object);
  }
}
